package ${packageName}.${className_x}.mapper;

import ${packageName}.${className_x}.entity.${className_d};
import ${packageName}.${className_x}.entity.${className_d}Param;
import ${packageName}.${className_x}.entity.${className_d}Vo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ${className_d}Mapper {

    ${className_d}Vo query(${className_d}Param param);

    List<${className_d}Vo> queryByIds(List<String> ids);

    Long count(${className_d}Param param);

    List<${className_d}Vo> queryList(${className_d}Param param);

    Integer insert(${className_d} entity);

    Integer batchInsert(List<${className_d}> entity);

    Integer updateById(${className_d} entity);

    Integer delete(${className_d} entity);

    Integer deleteRecord(${className_d} entity);

}